package com.bsdsma.visonManagementSystemapp.repository;

import com.bsdsma.visonManagementSystemapp.entity.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;
 
public interface TeacherRepository extends JpaRepository<Teacher, Long> {
    Teacher findByGonghaoAndStatus(Long gonghao, int status);
    Teacher findByAccountAndStatus(String account, int status);
    Teacher findByCellphoneNumberAndStatus(String cellphoneNumber, int status);
} 